<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%> 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head >
    <meta charset="UTF-8">
    <title>注册页面</title>
    <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath }/static/css/style.css" />
    <script type="text/javascript" src="${pageContext.request.contextPath }/static/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/calend/WdatePicker.js"></script>
 <script type="text/javascript" src="${pageContext.request.contextPath}/static/js/register.js"></script>

<script type="text/javascript" src="${pageContext.request.contextPath}/static/calend/time.js"></script>
    <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath }/static/calend/skin/WdatePicker.css" />
</head>
<script type="text/javascript">

</script>

<body class="login_bg">

 <div class="providerAdd">
            <form id="userForm" name="userForm" method="post" action="${pageContext.request.contextPath}/register" enctype="multipart/form-data">
				<input type="hidden" name="method" value="add">
                <!--div的class 为error是验证错误，ok是验证成功-->
                <div>
                    <label for="user_code">用户编码：</label>
                    <input type="text" name="user_code" id="user_code" value=""> 
					<!-- 放置提示信息 -->
					<font color="red"></font>
                </div>
                <div>
                    <label for="user_name">用户名称：</label>
                    <input type="text" name="user_name" id="user_name" value=""> 
					<font color="red"></font>
                </div>
                <div>
                    <label for="userPassword">用户密码：</label>
                    <input type="password" name="userPassword" id="userPassword" value=""> 
					<font color="red"></font>
                </div>
                <div>
                    <label for="ruserPassword">确认密码：</label>
                    <input type="password" name="ruserPassword" id="ruserPassword" value=""> 
					<font color="red"></font>
                </div>
                <div>
                    <label >用户性别：</label>
					<select name="sex" id="sex">
					    <option value="1" selected="selected">男</option>
					    <option value="2">女</option>
					 </select>
                </div>
                <div>
                    <label for="birthday">出生日期：</label>
                    <input type="text" Class="Wdate" id="birthday" name="birthday" 
					readonly="readonly" onclick="WdatePicker();">
					<font color="red"></font>
                </div>
                <div>
                    <label for="mobile">用户电话：</label>
                    <input type="text" name="mobile" id="mobile" value=""> 
					<font color="red"></font>
                </div>
                <div>
                    <label for="address">用户地址：</label>
                   <input name="address" id="address"  value="">
                </div>
               <div>
                    <label for="email">邮箱：</label>
                    <input type="text" name="email" id="email" value=""> 
					<font color="red"></font>
                </div>
                <div>
                    <input type="hidden" id="errorinfo" value="${uploadFileError}"/>
                    <label for="a_idPicPath">证件照</label>
                   	<input type="file" name="a_idPicPath" id="a_idPicPath"/>
                    <font color="red"></font>
                </div>
                <div class="providerAddBtn">
                    <input type="button" name="add" id="add" value="注册" >
					<input type="button" id="back" name="back" value="返回" >
     
                </div>
            </form>
        </div>
   
</body>
	<input type="hidden" id="path" name="path" class="path" value="${pageContext.request.contextPath }"/>



</html>
